package com.yc.jpyy.oadoc.dao;

import java.util.List;
import java.util.Map;

import org.springframework.dao.DataAccessException;
import com.yc.jpyy.base.dao.BaseDao;
import com.yc.jpyy.base.util.PageBean;

public interface OADocDao extends BaseDao {

	int addOADocDao(Map<String, Object> paramsMap) throws DataAccessException;

	int updateOADocDao(Map<String, Object> paramsMap) throws DataAccessException;

	int updateOADocFileDao(Map<String, Object> paramsMap) throws DataAccessException;

	int delOADocDao(Map<String, Object> paramsMap) throws DataAccessException;

	Map<String, Object> findOADocByIdDao(Map<String, Object> paramsMap) throws DataAccessException;

	// 分页查询
	List<Map<String, Object>> findOADocDao(Map<String, Object> paramsMap) throws DataAccessException;

	// 查询总数
	int findCountOADocDao(Map<String, Object> paramsMap) throws DataAccessException;

	// 分页查询 主子表
	List<Map<String, Object>> findOADocToOADocItemDao(Map<String, Object> paramsMap) throws DataAccessException;

	// 查询总数 主子表
	int findCountOADocToOADocItemDao(Map<String, Object> paramsMap) throws DataAccessException;
	
	
	

}
